﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" Title="浙江树人大学网上文体教室" %>
<%@ Register Assembly="Anthem" Namespace="Anthem" TagPrefix="anthem" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div style="height:712px;">
<div style="float:left;width:325px;">
       <div style="border-right: #dedede 1px solid; border-top: #dedede 1px solid;
            border-left: #dedede 1px solid; width: 324px; border-bottom: #dedede 1px solid">
            <div style="font-weight: bold; font-size: 14px; background: url(image/maintit11.jpg) no-repeat;
                 width: 324px; color: #006699; line-height: 30px; padding-top: 5px;
                height: 33px">
                <div style="padding-left: 30px; float: left; width: 100px">
                    用户登录</div>
            </div>
            <div>
        <table border="0" style="width: 100%;">
                        <tr>
                            <td align="right" style="width: 31%; height: 27px;">
                                <asp:Label ID="Lbuser" runat="server">用户名：</asp:Label></td>
                            <td style="width: 33%; height: 27px;">
                                <anthem:TextBox ID="TextBox1" runat="server" Width="181px"></anthem:TextBox></td>
                                <td style="width: 33%; text-align: left; height: 27px;"></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 31%; height: 27px;">
                                <asp:Label ID="Lbpossword" runat="server">密&nbsp;&nbsp;&nbsp;码：</asp:Label></td>
                            <td style="width: 33%; height: 27px;">
                                <anthem:TextBox ID="TextBox2" runat="server" Width="181px" TextMode="Password"></anthem:TextBox></td>
                                <td style="width: 33%; text-align: left; height: 27px;"></td>
                        </tr>
            <tr>
                <td align="right" style="width: 31%; height: 27px">
                    <asp:Label ID="Label1" runat="server">类&nbsp;&nbsp;&nbsp;型：</asp:Label></td>
                <td style="width: 33%; height: 27px; text-align: left">
                    <anthem:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
                        RepeatLayout="Flow">
                        <Items>
                            <asp:ListItem Selected="True">学生</asp:ListItem>
                            <asp:ListItem>教师</asp:ListItem>
                        </Items>
                    </anthem:RadioButtonList>
                    </td>
                <td style="width: 33%; height: 27px; text-align: left">
                </td>
            </tr>
                        <tr>
                            <td align="right" style="width: 31%; height: 27px;">
                                <asp:Label ID="Labeyz" runat="server" Text="验证码："></asp:Label></td>
                            <td style="width: 33%; text-align: left; height: 27px;">
                                <anthem:TextBox ID="TextBox3" runat="server" Width="181px" ToolTip="验证码不区分大小写"></anthem:TextBox>&nbsp;
                                </td>
                            <td style="width: 33%; text-align: left; height: 27px;">
                                
                               <img src="Handler.ashx" alt="" /></td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 31%; height: 26px;">
                                </td>
                            <td align="center" style="width: 33%; height: 26px; text-align: left;">
                                <anthem:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/image/default_r11_c2.gif" OnClick="ImageButton1_Click" />
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<anthem:ImageButton ID="ImageButton2" runat="server" ImageUrl="~/image/default_r11_c3.gif" OnClick="ImageButton2_Click" />
                             </td>
                            <td align="left" style="width: 33%; height: 26px;">
                                </td>
                        </tr>
                    </table>
           </div>
    </div>
    <div style="height:5px;"></div>
    
    
    
     <div style="border-right: #dedede 1px solid; border-top: #dedede 1px solid;
            border-left: #dedede 1px solid; width: 324px; border-bottom: #dedede 1px solid">
            <div style="font-weight: bold; font-size: 14px; background: url(image/maintit11.jpg) no-repeat;
                 width: 324px; color: #006699; line-height: 30px; padding-top: 5px;
                height: 33px">
                <div style="padding-left: 30px; float: left; width: 100px">
                    体育公告</div>
                     <div style="width:100px; float:right; text-align:right; line-height:30px">
                         <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="image/more2.gif" OnClick="ImageButton3_Click"/>
                     &nbsp;</div>
            </div>
            <div style="height:470px;">
              <asp:Repeater ID="Repeater2" runat="server">
                 <ItemTemplate>
                   <div style=" width:324px; height:25px; float:left; padding-top:5px; border-bottom:#CCCCCC 1px dashed">
                  <div style="width:230px;float:left;text-align:left;"> &nbsp;<img src="image/list[1].gif" /> <a href="ReadNews.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "pkID")%>" target="_blank">
                  <%# LimitNum.Limit((DataBinder.Eval(Container.DataItem, "wtnewsName")).ToString(), 16)%></a> </div>
                   <div style="width:94px;float:right; text-align:right;">
                    <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "wtnewsDate")).ToString("yyyy-MM-dd")%>&nbsp;&nbsp;
                    </div>
                    </div>
                 </ItemTemplate>       
               </asp:Repeater>
      </div>
    </div>
    
    
    
    
    
    
    </div>
     <div style="float:right;width:615px;">
     <div>
         <iframe allowtransparency="" border="0" frameborder="0" height="244" name="lantk"
                              scrollbars="yes" src="css/huandingp/tupian.aspx" width="615px"></iframe>
     </div>
      <div style="height:5px;"></div>
     <div>
        <div style="float:left;">
            
     <div style="border-right: #dedede 1px solid; border-top: #dedede 1px solid;
            border-left: #dedede 1px solid; width: 303px; border-bottom: #dedede 1px solid">
            <div style="font-weight: bold; font-size: 14px; background: url(image/maintit11.jpg) no-repeat;
                 width: 303px; color: #006699; line-height: 30px; padding-top: 5px;
                height: 33px">
                <div style="padding-left: 30px; float: left; width: 100px">
                    教学动态</div>
                     <div style="width:100px; float:right; text-align:right; line-height:30px">
                         <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="image/more2.gif" OnClick="ImageButton4_Click"/>
                     &nbsp;</div>
            </div>
            <div style="height:415px;">
              <asp:Repeater ID="Repeater1" runat="server">
                 <ItemTemplate>
                   <div style=" width:303px; height:25px; float:left; padding-top:5px; border-bottom:#CCCCCC 1px dashed">
              <div style="width:210px;float:left;text-align:left;"> &nbsp;<img src="image/list[1].gif" /> <a href="ReadNews.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "pkID")%>" target="_blank">
                  <%# LimitNum.Limit((DataBinder.Eval(Container.DataItem, "wtnewsName")).ToString(), 14)%></a> </div>
                   <div style="width:90px;float:right; text-align:right;">
                    <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "wtnewsDate")).ToString("yyyy-MM-dd")%>&nbsp;&nbsp;
                    </div>
                    </div>
                 </ItemTemplate>       
               </asp:Repeater>
      </div>
    </div>
    
        </div>
        <div style="float:right">
        
     <div style="border-right: #dedede 1px solid; border-top: #dedede 1px solid;
            border-left: #dedede 1px solid; width: 300px; border-bottom: #dedede 1px solid">
            <div style="font-weight: bold; font-size: 14px; background: url(image/maintit11.jpg) no-repeat;
                 width: 300px; color: #006699; line-height: 30px; padding-top: 5px;
                height: 33px">
                <div style="padding-left: 30px; float: left; width: 100px">
                    体育新闻</div>
                     <div style="width:100px; float:right; text-align:right; line-height:30px">
                         <asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="image/more2.gif" OnClick="ImageButton5_Click"/>
                     &nbsp;</div>
            </div>
            <div style="height:415px;">
              <asp:Repeater ID="Repeater3" runat="server">
                 <ItemTemplate>
                   <div style=" width:300px; height:25px; float:left; padding-top:5px; border-bottom:#CCCCCC 1px dashed">
                 <div style="width:210px;float:left;text-align:left;"> &nbsp;<img src="image/list[1].gif" /> <a href="ReadNews.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "pkID")%>" target="_blank">
                  <%# LimitNum.Limit((DataBinder.Eval(Container.DataItem, "wtnewsName")).ToString(), 14)%></a> </div>
                   <div style="width:90px;float:right; text-align:right;">
                    <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "wtnewsDate")).ToString("yyyy-MM-dd")%>&nbsp;&nbsp;
                    </div>
                    </div>
                 </ItemTemplate>       
               </asp:Repeater>
      </div>
    </div>
    
        </div>
     </div>
    </div>
</div>
<div>

     
     <div style="border-right: #dedede 1px solid; border-top: #dedede 1px solid;
            border-left: #dedede 1px solid; width: 950px; border-bottom: #dedede 1px solid">
            <div style="font-weight: bold; font-size: 14px; background: url(image/maintit11.jpg) no-repeat;
                 width: 950px; color: #006699; line-height: 30px; padding-top: 5px;
                height: 33px">
                <div style="padding-left: 30px; float: left; width: 100px">
                    友情链接</div>
            </div>
            <div style="height:50px;">
                <asp:DataList ID="DataList1" runat="server" RepeatColumns="7">
                    <ItemTemplate>
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td style="width: 100%"><a href='<%# DataBinder.Eval(Container.DataItem, "linkplace")%>'>
          <%# DataBinder.Eval(Container.DataItem, "linkname")%>
              <asp:Label ID="Label2" runat="server" Visible="false"><%# DataBinder.Eval(Container.DataItem, "pkID")%></asp:Label>
          </a>&nbsp;&nbsp;
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList>
    
      </div>
    </div>
<div style="height:10px;"></div>
</div>
</asp:Content>

